package com.kgc.travel.mapper;

import com.kgc.travel.pojo.LawRule;
import com.kgc.travel.pojo.LawRuleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LawRuleMapper {
    int countByExample(LawRuleExample example);

    int deleteByExample(LawRuleExample example);

    int deleteByPrimaryKey(Integer ruleId);

    int insert(LawRule record);

    int insertSelective(LawRule record);

    List<LawRule> selectByExample(LawRuleExample example);

    LawRule selectByPrimaryKey(Integer ruleId);

    int updateByExampleSelective(@Param("record") LawRule record, @Param("example") LawRuleExample example);

    int updateByExample(@Param("record") LawRule record, @Param("example") LawRuleExample example);

    int updateByPrimaryKeySelective(LawRule record);

    int updateByPrimaryKey(LawRule record);
}